﻿using B.S.Passport.ErrorCode;

namespace B.S.BaseData.Manage.Api.Read.DTO
{
    public class ManagementModelDTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 产品ID（外键）
        /// </summary>
        public int? Pid { get; set; }
        /// <summary>
        /// 入库订单号
        /// </summary>
        public string? InboundNum { get; set; }
        /// <summary>
        /// 关联单号
        /// </summary>
        public string? AssociatedNum { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string? Quantity { get; set; }
        /// <summary>
        /// 入库类型
        /// </summary>
        public ApiStorage? Storage { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string? Supplier { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? SupplierID { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public string? SupplierPeople { get; set; }
        /// <summary>
        /// 供应商联系方式
        /// </summary>
        public string? SupplierPhone { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string? Creator { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? Reviewer { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? OutAuditTime { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public ApiStatus? OutAuditstatus { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? OutCreationTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Rember { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProId { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specifications { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? batch { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string? Unitprice { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public string? UNumber { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public string? Price { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string? Binlocation { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public int? IsDelete { get; set; } = 0;
    }
}
